/* General form styles
----------------------------------------*/
fieldset
{
    padding: 2em;
}

input, select
{
    font-weight: normal;
    cursor: pointer;
    vertical-align: middle;
    font-size: 1.1em;
    font-family: inherit;
}

input[type=text], input[type=password], select
{
    background-color: #FFFFFF;
    border-top:1px solid #7c7c7c;
    border-left:1px solid #c3c3c3;
    border-right:1px solid #c3c3c3;
    border-bottom:1px solid #ddd;   
    color: black;
    padding: 5px;
    cursor: text;
}

input[type=text]:focus, input[type=password]:focus
{
    -moz-box-shadow: 0 0 1px 1px #CCB600;
    -webkit-box-shadow: 0 0 1px 1px #CCB600;
    -o-box-shadow: 0 0 1px 1px #CCB600;
    box-shadow: 0 0 1px 1px #CCB600;    
}

input[type=textarea]
{
    width: 60%;
    padding: 2px;
    font-size: 1em;
    line-height: 1.4em;
}

input[type=submit]
{
    width: auto !important;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.2em;
    font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    color: #000;   
}

option 
{
    padding-right: 1em;
}

option.disabled-option 
{
    color: graytext;
}

label
{
    cursor: default;
    padding-right: 5px;
    color: #444444;
}

label input 
{
    vertical-align: middle;
}

label img 
{
    vertical-align: middle;
}

/* Definition list layout for forms
---------------------------------------- */
fieldset dl 
{
    padding: 4px 0;
    overflow: auto;
}

fieldset dt 
{
    float: left;	
    width: 40%;
    text-align: left;
    display: block;
}

fieldset dd 
{
    margin-left: 41%;
    vertical-align: top;
    margin-bottom: 3px;
}

/* Specific layouts */
fieldset.fieldset1 dt 
{
    width: 15em;
    border-right-width: 0;
}

fieldset.fieldset1 dd 
{
    margin-left: 16em;
    border-left-width: 0;
}

fieldset.fieldset2 dt 
{
    width: 8em;
    border-right-width: 0;
}

fieldset.fieldset2 dd 
{
    margin-left: 9em;
    border-left-width: 0;
}

/* Submit button fieldset */
fieldset.submit-buttons 
{
    text-align: center;
    vertical-align: middle;
    border: 0;
    padding: 1.5em;
}

fieldset div#error
{
    color: red;
    font-weight: bold;
}

/* Form elements */
dt label 
{
    font-weight: bold;
    text-align: left;
}

dd label 
{
    white-space: nowrap;
    color: #333;
}

dd input, dd textarea 
{
    margin-right: 3px;
}

dd select 
{
    width: auto;
}

/* Hover effects */
fieldset dl:hover dt label 
{
    color: #000000;
}
